import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    aaa:1,
    bbb:2,
  },
  getters: {

  },
  mutations: {
    handleCan(state, payload) {
      state.aaa = state.aaa + payload
    }
  },
  actions: {

  },
  modules: {

  }
})
